package com.itheima.health.service;

import com.itheima.health.pojo.OrderSetting;
import com.itheima.health.pojo.OrderSettingDto;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @author spt
 * @description 预约设置SERVICE
 * @date 2019/9/29
 **/

public interface OrderSettingService {



//    boolean add(OrderSetting orderSetting);

    void addBatch(List<ArrayList<String>> sheetData);

    void editNumber(OrderSetting orderSetting);


    /**
     * 查询该日期的预约信息表单数据
     * @return
     */
    OrderSetting selectIdTotal(Date orderDate);

    /**
     * 添加当天已完成预约人数
     * @param orderSetting
     */
    void increaseReservations(OrderSetting orderSetting);

    List<Map<String, Object>> getOrderSettingByMonth(int year, int month);
}

